﻿<%@ Page Title="" Language="C#" MasterPageFile="~/mng-admin-cc/admin-site.Master" AutoEventWireup="true" CodeBehind="ManageSpeakers.aspx.cs" Inherits="CodeCamp12.admin.ManageSpeakers" %>

<asp:Content ID="Content1" ContentPlaceHolderID="cphHead" runat="server">
    <script src="../Scripts/ManageSpeakers.js" type="text/javascript"></script>
</asp:Content>


<asp:Content ID="Content2" ContentPlaceHolderID="cphBody" runat="server">
<div id="manageSpeakers">
    <h2>Here you can add new speakers or edit/delete existing speakers for the codecamp events</h2>
    <br />
    <a href="SpeakerDetails.aspx" style="font-size:large; color:Green; font-weight:bold; ">Add new Speaker</a>
    <br />
    <br />
    <h3>Existing speakers for all CODECAMP events</h3>
    <div id="SpeakersTemp">
     
   </div>
</div>

  <script id="SpeakerTemplate" type="text/x-jQuery-tmpl">
        <div class='SpDiv'>
            <div class = "speakerImage">
                <img src = '../GetImageForSpeaker.ashx?id=${ID}' width="130px" height="160ox"/>
            </div>
            
            <div class = "speakerData">
                <a class="lkName" href="${Link}">${FirstName} ${LastName}</a>  
                <br/>${ExpertIn}
                <br /> ${Country},  ${CompanyName}
                <br /> <br />
                <a href="../GetFileForSpeaker.ashx?id=${ID}" class="DownloadButton"> Download resume <img src="../images/icons/download.png" style="width:30px; height:25px; float:right;"/></a> 
                <br />
                <a href="SpeakerDetails.aspx?id=${ID}" class="link_butt">[Edit]</a> | <a href = "#" class="link_butt" onclick="DeleteSpeaker('${ID}');">[Delete]</a> <button class="ShDisc" type="button">Show Details</button>
                <div class="descrDiv">
                    {{html Description}}
                </div>         
           </div>
         </div>
   </script>
</asp:Content>
